<template>
  <footer>
    <div class="wrapper">
      <div class="feature">
        <p class="flabel" >{{$t('l.footer_content1')}}</p>
        <p class="ftext" @click="$router.push('/why-Qtglobal')">{{$t('l.footer_content2')}}</p>
        <p class="ftext" @click="$router.push('/institutions')">{{$t('l.footer_content3')}}</p>
        <p class="ftext" @click="$router.push('/projectLaunch')">{{$t('l.footer_content4')}}</p>
        <p class="ftext" @click="$router.push('/news')">{{$t('l.footer_content6')}}</p>
        <p class="ftext" @click="isLogin ? $router.push('/workManage') : $router.push('/login')">{{$t('l.other_a_5')}}</p>
      </div>
      <div class="feature">
        <p class="flabel">{{$t('l.footer_content7')}}</p>
        <p class="ftext" @click="$router.push('/support-24-7')">{{$t('l.footer_content8')}}</p>
        <p class="ftext" @click="$router.push('/account-management')">{{$t('l.footer_content9')}}</p>
        <p class="ftext" @click="$router.push('/funding-options')">{{$t('l.footer_content10')}}</p>
        <p class="ftext" @click="$router.push('/liquidity')">{{$t('l.footer_content11')}}</p>
        <p class="ftext" @click="$router.push('/security')">{{$t('l.footer_content12')}}</p>
      </div>
      <div class="feature">
        <p class="flabel">{{$t('l.footer_content13')}}</p>
        <p class="ftext" @click="$router.push('/legal')">{{$t('l.footer_content14')}}</p>
        <p class="ftext" @click="$router.push('/privacy')">{{$t('l.footer_content15')}}</p>
        <p class="ftext" @click="$router.push('/disclosures')">{{$t('l.footer_content16')}}</p>

      </div>
      <div class="feature-right">
        <img class="fimg" src="../../static/home/img/QtGlobal.png" alt="" />
        <p class="ftext">Copyright © 2021 QtGlobal.<br />All Rights Reserved.  </p>
      </div>
      <div style="clear: both;"></div>
    </div>
  </footer>
</template>

<script>
import QRCode from 'qrcodejs2'
export default {
  computed: {
    isLogin() {
      return this.$store.state.usertoken ? true : false;
    }
  },
  data() {
    return {};
  },
  methods: {
    linkApiDoc() {
      window.open(
        "http://www.qtglobal.net/",
        "_blank"
      );
    },
    qrcode() {
        let that = this;
        let qrcode = new QRCode(this.$refs.downqrcode, {
            width: 100,
            height: 100,
            text: window.location.origin+"/#/h5/download", // 二维码地址
            colorDark : "#000",
            colorLight : "#fff",
        })
    },
  },
  mounted(){
    // this.qrcode();
  }
};
</script>

<style lang="less">

</style>
